home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / regnpckg.sit / Picture MDEF ƒ / PicMDEF.h < prev   
Text File  |  1990-12-10  |  719b  |  30 lines

  1. #ifndef _PicMDEF_
  2. #define _PicMDEF_
  3.  
  4. typedef Byte Str31[32];
  5.  
  6. typedef struct
  7. {    int            rnum;
  8.     Rect        rects[1];
  9. }    **nrctHand;
  10.  
  11. typedef struct
  12. {    /* standard fields */
  13.     int            menuID;
  14.     int            menuWidth, menuHeight;
  15.     Handle        menuProc;
  16.     long        enableFlags;
  17.     /* almost standard, normally Str255 */
  18.     Str31        menuTitle;
  19.     /* non-standard fields */
  20.     PicHandle    menuPic;        /* menu picture */
  21.     nrctHand    nrcts;            /* hot areas */
  22.     int            hiOne, hiTwo;    /* two hot areas to highlight, 0 = none */
  23.     Point        tearLoc;        /* top left of tear off rect */
  24.     int            tBarHeight;        /* height to assume for palette title bar */
  25. } PicMenu, *PicMenuPtr, **PicMenuHandle;
  26.  
  27. MenuHandle NewPicMenu(Str31, PicHandle, nrctHand);
  28. void DisposePicMenu(MenuHandle);
  29.  
  30. #endif